<%--
  Created by IntelliJ IDEA.
  User: WangWeiwei
  Date: 16-10-21
  Time: 上午11:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path;
    request.setAttribute("basePath", basePath);
%>
<div class="top-grids">
    <div style="margin: 50px;"></div>
        <h3>${web['title']}</h3>
    <div>
        <h4>商品的属性</h4>

        <h4>商品的描述信息</h4>
        <%--编辑器--%>
        <script>
            //1.设置编辑器配置文件的根路径
            window.UMEDITOR_HOME_URL = '${basePath}/resources/umeditor/';
        </script>
        <%@include file="../../utils/umeditor.jsp"%>
        <script>

            $(function () {
                //2.初始化编辑器的内容
                um${editorId}.setContent('初始化编辑器的内容....');
            })
        </script>

        <script id="my"></script>
    </div>
</div>